xinetd: fix compilation with GCC15
authorRosen Penev <[email protected]>
Fri, 1 Aug 2025 18:37:04 +0000 (11:37 -0700)
committerFlorian Eckert <[email protected]>
Mon, 11 Aug 2025 05:10:46 +0000 (07:10 +0200)
Cannot use C23 as it uses generic function pointers.

Signed-off-by: Rosen Penev <[email protected]>
net/xinetd/Makefile

index bad597791a9bbad9d685000ca1b3c4fe38da3b61..4015d3799548635259f44478c2c406cb577e7de6 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xinetd
 PKG_VERSION:=2.3.15
-PKG_RELEASE:=17
+PKG_RELEASE:=18
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=$(PKG_NAME)-2-3-15
@@ -46,7 +46,7 @@ define Package/xinetd/conffiles
 /etc/xinetd.d
 endef
 
-TARGET_CFLAGS += -DNO_RPC
+TARGET_CFLAGS += -DNO_RPC -std=gnu11
 TARGET_CPPFLAGS += -DHAVE_RLIM_T
 
 CONFIGURE_ARGS += \